// {
// "filename": "livchat/images/dev/20240429/img_1714376173896.jpg",
// "size": "138865",
// "mimeType": "application/octet-stream",
// "width": "2144",
// "height": "1424"
// }

import 'package:ceramics/util/ab_value_converter.dart';

class ABOSSUploadRes {
  String? filename;
  String? size;
  String? mimeType;
  String? width;
  String? height;

  static ABOSSUploadRes fromJson(Map<String, dynamic> map) {
    ABOSSUploadRes res = ABOSSUploadRes();
    res.filename = valueToString(map['filename']);
    res.size = valueToString(map['size']);
    res.mimeType = valueToString(map['mimeType']);
    res.width = valueToString(map['width']);
    res.height = valueToString(map['height']);
    return res;
  }
}